import * as m1 from "./m1.js"
console.log('m1', m1.school)
// 引入m2模块
import * as m2 from "./m2.js"
console.log('m2', m2.school)
// 引入m3模块
import * as m3 from "./m3.js"
console.log('m3', m3.default.school)
// 
import m4 from "./m3"
console.log('m4', m4.school)

// 使用jQuery  npm i jquery
// import是es6写法，require是es5写法，二者等价 
import $ from 'jquery' // 等价写法： const $ = require('jquery')
$('body').css('background', 'pink')

